package com.ls.entity;

import java.io.Serializable;
import java.sql.Date;


/**
 * 员工类
 */
public class Employee implements Serializable {
	private static final long serialVersionUID = -3110559865253545534L;
	private int emp_id;
	private String emp_name;
	private int age;
	private int dept_id;
	private String email;
	private String password;
	private Date hire_date;
	private Date update_time;
	private String info;
	private Department department;


	public int getEmp_id() {
		return emp_id;
	}


	public void setEmp_id(int emp_id) {
		this.emp_id = emp_id;
	}


	public String getEmp_name() {
		return emp_name;
	}


	public void setEmp_name(String emp_name) {
		this.emp_name = emp_name;
	}


	public int getAge() {
		return age;
	}


	public void setAge(int age) {
		this.age = age;
	}


	public int getDept_id() {
		return dept_id;
	}


	public void setDept_id(int dept_id) {
		this.dept_id = dept_id;
	}


	public String getEmail() {
		return email;
	}


	public void setEmail(String email) {
		this.email = email;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public Date getHire_date() {
		return hire_date;
	}


	public void setHire_date(Date hire_date) {
		this.hire_date = hire_date;
	}


	public Date getUpdate_time() {
		return update_time;
	}


	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}


	public String getInfo() {
		return info;
	}


	public void setInfo(String info) {
		this.info = info;
	}


	public Department getDepartment() {
		return department;
	}


	public void setDepartment(Department department) {
		this.department = department;
	}


	@Override
	public String toString() {
		return "Employee [emp_id=" + emp_id + ", emp_name=" + emp_name + ", age=" + age + ", dept_id=" + dept_id
				+ ", email=" + email + ", password=" + password + ", hire_date=" + hire_date + ", update_time="
				+ update_time + ", info=" + info + ", department=" + department + "]";
	}

}
